package com.common;

import java.io.Serializable;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface BaseMapper<T> {

	public void add(T t);
	
	public void update(T t);
	
	public void updateBySelective(T t); 
	
	public int queryByCount(BaseModel model);
	
	public List<T> queryByList(BaseModel model);
	
	public List<T> queryByIds(String[] ids);
	
	public T queryById(Object id);	
	
	public void delete(Object id);
	
	public void batchDeletes(Object...list);
}
